# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :send_sms.py
# @Time      :2022/7/10 16:02
# @Author    :吕华龙

from ronglian_sms_sdk import SmsSDK

accId = "8aaf07087bc82708017bf7ea668d0f19"
accToken = "421d07d3905c401c86649006f7a6b033"
appId = "8aaf07087bc82708017bf7ea68910f20"


def send_message(mobile, smscode, exp):
    tid = '1'
    datas = (smscode, exp)
    resp = SmsSDK(accId, accToken, appId).sendMessage(tid, mobile, datas)
    print(resp)
    return resp
